BitApps\Assist\Core\Http\Router\RouteRegistrar B

Total Complexity 92
Dependencies 10
Dependents 5
Total lines 455
Lines of code 281
Logical lines of code 148
Comment lines 30
Methods 42
Properties 12

Methods 42

Method Rating Maintainability Complexity Lines of code
getParamValue()
A
50 13 27
setResponse()
S
50 7 28
handleMiddleware()
S
54 6 21
setRequest()
S
56 5 18
hasRegex()
S
64 5 9
makeRegex()
S
58 4 14
sendAjaxResponse()
S
65 4 8
match()
S
66 3 8
invokeAsReflection()
S
65 3 8
regex()
S
67 3 9
handleRequest()
S
63 3 10
getRouteParam()
S
71 2 6
getRequest()
S
72 2 6
getRouteParamValue()
S
71 2 6
sendResponse()
S
71 2 6
handleAction()
S
65 2 9
getRouterType()
S
81 1 3
register()
S
70 1 6
setRouteParam()
S
80 1 3
getRestRequest()
S
82 1 3
setRestRequest()
S
81 1 3
sendApiResponse()
S
68 1 7
getRouteParamValues()
S
82 1 3
getRouter()
S
81 1 3
__construct()
S
81 1 3
setRouteParamValue()
S
80 1 3
getAction()
S
82 1 3
get()
S
79 1 3
post()
S
79 1 3
put()
S
79 1 3
destroy()
S
79 1 3
getMethods()
S
82 1 3
action()
S
77 1 4
path()
S
77 1 4
getRoutePrefix()
S
81 1 3
getPath()
S
82 1 3
name()
S
77 1 4
getName()
S
82 1 3
isNoAuth()
S
81 1 3
isTokenIgnored()
S
81 1 3
getMiddleware()
S
81 1 3
getRouteParams()
S
82 1 3